package com.vitamo.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.vitamo.Beans.UtilisateurB;


/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;
	void connect(String username,String pwd, AsyncCallback<String> callback) throws IllegalArgumentException;
	void Verifier(String username, AsyncCallback<String> callback) throws IllegalArgumentException;
	void CreerUtilisateur(String username,String pwd,String type,String nom,String prenom,String adress,String email,String numt,String numf,String nump,AsyncCallback<String> callback) throws IllegalArgumentException;
	void getUtilisateurs(AsyncCallback<List<UtilisateurB>> callback) throws IllegalArgumentException;
	void modifier(UtilisateurB U, AsyncCallback<Boolean> callback) throws IllegalArgumentException;
	void EnregistrerChange(List<UtilisateurB> l, AsyncCallback<Boolean> callback) throws IllegalArgumentException;
	void rechercher(String key,AsyncCallback<List<UtilisateurB>> callback) throws IllegalArgumentException;
		
}
